.about-page {
  --about-cream: #fff8f2;
  --about-ink: #39364f;
  --about-muted: #716b83;
  --about-lavender: #dccfff;
  --about-lilac: #f0e9ff;
  --about-blue: #cfe2ff;
  --about-yellow: #ffe8a3;
  --about-pink: #ffdce8;
  --about-mint: #d5f4e7;
  --about-peach: #ffe2d2;
  --about-shadow: 0 18px 50px rgba(70, 54, 93, 0.1);

  position: relative;
  isolation: isolate;
  overflow: clip;
  color: var(--about-ink);
}

.hero-copy h1 {
  font-size: clamp(3rem, 5vw, 4.2rem);
}

.about-page *,
.about-page *::before,
.about-page *::after {
  box-sizing: border-box;
}

.about-page .shell {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.navbar {
  min-height: 92px;
}

.navbar .brand-planet {
  width: 90px;
}

.navbar .brand span {
  font-size: clamp(25px, 3vw, 36px);
}

.about-page a,
.about-footer a {
  text-decoration: none;
}

.about-page img {
  max-width: 100%;
}

.about-page h1,
.about-page h2,
.about-page h3,
.about-footer p {
  margin-top: 0;
}

.about-page h1,
.about-page h2,
.about-page h3 {
  color: var(--about-ink);
  font-weight: 900;
  letter-spacing: -0.045em;
}

.about-page h1 span,
.about-page h2 span {
  color: #8468bd;
}

.about-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(20px, 4vw, 60px);
  min-height: calc(100svh - 92px);
  padding-top: 28px;
  padding-bottom: 64px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: auto;
  max-width: 560px;
  margin: 0;
}

.section-kicker {
  margin-top: 0;
  margin-bottom: 15px;
  color: #8164b4;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.hero-copy h1 {
  max-width: 600px;
  margin-bottom: 18px;
  font-size: clamp(3.15rem, 5.3vw, 4.8rem);
  line-height: 0.99;
}

.hero-copy .hero-title-line {
  position: relative;
  display: block;
  width: max-content;
  max-width: 100%;
  color: var(--about-ink);
  white-space: nowrap;
  clip-path: inset(0 100% 0 0);
  animation: title-writing 0.9s steps(13, end) forwards;
}

.hero-copy .hero-title-line::after {
  position: absolute;
  top: 0.08em;
  left: 0;
  width: 2px;
  height: 0.86em;
  border-radius: 2px;
  background: #916fbf;
  content: "";
  animation:
    title-caret 0.9s steps(13, end) forwards,
    caret-blink 0.7s step-end 5;
}

.hero-copy .hero-title-line-two {
  color: #916fbf;
  animation-delay: 0.85s;
}

.hero-copy .hero-title-line-two::after {
  animation-delay: 0.85s, 0.85s;
}

.hero-copy .hero-title-line-three {
  animation-delay: 1.7s;
}

.hero-copy .hero-title-line-three::after {
  animation-delay: 1.7s, 1.7s;
}

.hero-lede {
  max-width: 495px;
  margin: 0 0 20px;
  color: var(--about-muted);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
}

.about-page .button {
  min-height: 46px;
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 900;
  transition:
    transform 250ms ease,
    box-shadow 250ms ease,
    background-color 250ms ease;
}

.about-page .button:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(119, 83, 169, 0.25);
}

.about-page .button:focus-visible,
.hero-text-link:focus-visible,
.scroll-cue:focus-visible,
.about-footer a:focus-visible {
  outline: 3px solid rgba(132, 104, 189, 0.65);
  outline-offset: 4px;
}

.about-page .button-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
  min-height: 58px;
  padding: 0 12px 0 23px;
  color: #fff;
  background: linear-gradient(115deg, #a487dc, #7657ac 72%, #65489b);
  box-shadow:
    0 10px 24px rgba(119, 83, 169, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.hero-primary-button {
  position: relative;
  overflow: visible !important;
  gap: 9px;
  min-height: 46px;
  padding: 11px 18px 11px 20px;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  line-height: 1;
  background: linear-gradient(115deg, #a487dc, #7657ac 72%, #65489b);
  box-shadow:
    0 6px 16px rgba(119, 83, 169, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.hero-primary-button:hover {
  transform: translateY(-3px);
  box-shadow:
    0 12px 26px rgba(119, 83, 169, 0.30),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.hero-primary-button:active {
  transform: translateY(-1px);
}

.hero-primary-button:focus-visible {
  outline: 3px solid rgba(132, 104, 189, 0.65);
  outline-offset: 4px;
}

.hero-button-icon {
  display: grid;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  font-size: 1.1rem;
  transition:
    transform 250ms ease,
    background-color 250ms ease;
  place-items: center;
}

.hero-primary-button > span:first-child {
  white-space: nowrap;
}

.hero-primary-button:hover .hero-button-icon {
  background: rgba(255, 255, 255, 0.26);
  transform: translateY(2px);
}

.hero-text-link {
  color: #655b7e;
  font-size: 0.88rem;
  font-weight: 900;
}

.hero-text-link span {
  display: inline-block;
  margin-left: 4px;
  color: #8b6fbd;
  transition: transform 200ms ease;
}

.hero-text-link:hover span {
  transform: translate(3px, -3px);
}

.hero-note {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 13px 0 0;
  color: #898399;
  font-size: 0.8rem;
  font-weight: 800;
}

.hero-note img {
  width: 17px;
  height: 17px;
}

.hero-stage {
  position: relative;
  justify-self: center;
  width: min(100%, 490px);
  height: 420px;
  min-width: 0;
  isolation: isolate;
  display: grid;
  place-items: center;
  border-radius: 47% 53% 46% 54% / 48% 43% 57% 52%;
  background:
    radial-gradient(ellipse at 52% 65%, rgba(255, 255, 255, 0.97), transparent 42%),
    radial-gradient(ellipse at 50% 49%, #fff 0, #f0e9ff 42%, #cfe2ff 77%, #ffdce8 100%);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 80% 86%;
  animation: stage-breathe 9s ease-in-out infinite alternate;
}

.hero-stage-backdrop {
  position: absolute;
  z-index: 0;
  inset: 6% 8% 8% 8%;
  /* width:auto on an absolutely-positioned <img> resolves to the intrinsic
     444px and ignores right:8%, pushing the art off-centre past the box.
     Explicit 84% (= 100% - 8% - 8%) and 86% (= 100% - 6% - 8%) make the
     image box match the stage insets exactly: fully inside the box, symmetric,
     bottom-anchored, scaled by object-fit:contain (no crop, no stretch). */
  width: 84%;
  height: 86%;
  object-fit: contain;
  object-position: center bottom;
  pointer-events: none;
  opacity: 0.92;
  filter: drop-shadow(0 12px 18px rgba(62, 47, 85, 0.16));
}

.hero-stage::before,
.hero-stage::after {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(151, 130, 190, 0.32);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.hero-stage::before {
  inset: 14% 11%;
  transform: rotate(-19deg);
}

.hero-stage::after {
  inset: 20% 18%;
  border-style: dashed;
  transform: rotate(36deg);
}

.hero-orbit {
  position: absolute;
  z-index: 1;
  width: 13px;
  height: 13px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #bfa7eb;
  box-shadow: 0 0 14px rgba(155, 128, 211, 0.65);
}

.hero-orbit-one {
  top: 19%;
  left: 11%;
}

.hero-orbit-two {
  right: 10%;
  bottom: 28%;
  width: 9px;
  height: 9px;
  background: #ffd276;
  animation: orbit-twinkle 3.5s ease-in-out infinite;
}

.hero-moon {
  position: absolute;
  z-index: 1;
  top: 10%;
  right: 17%;
  width: 64px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--about-yellow);
  box-shadow: 0 0 40px rgba(255, 205, 93, 0.45);
}

.hero-moon::after {
  position: absolute;
  top: -5px;
  left: 19px;
  width: 61px;
  aspect-ratio: 1;
  border-radius: inherit;
  background: #eee8ff;
  content: "";
}

.hero-character {
  position: absolute;
  z-index: 2;
  bottom: 10%;
  height: 290px;
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  cursor: pointer;
  appearance: none;
}

.character-swap:focus-visible {
  outline: 3px solid rgba(132, 104, 189, 0.75);
  outline-offset: 3px;
  border-radius: 20px;
}

.swap-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 10px 9px rgba(62, 47, 85, 0.13));
  transition: opacity 300ms ease;
}

.swap-image-solo {
  opacity: 1;
}

.swap-image-gadget {
  opacity: 0;
}

.character-swap.is-gadget-visible .swap-image-solo {
  opacity: 0;
}

.character-swap.is-gadget-visible .swap-image-gadget {
  opacity: 1;
}

.hero-character-abhay {
  left: 8%;
}

.hero-character-abhay .swap-image {
  animation-delay: -1.6s;
}

.hero-character-divyansh {
  right: 7%;
}

.hero-character-divyansh .swap-image {
  animation-delay: -4.1s;
}

/* Refined hero hover: subtle lift + gentle scale + soft glow, no clipping. */
@media (hover: hover) and (pointer: fine) {
  .hero-character {
    transform: translateY(0);
    transition:
      transform 320ms cubic-bezier(0.2, 0.75, 0.25, 1),
      filter 320ms ease;
    will-change: transform, filter;
  }

  .hero-character:hover,
  .hero-character:focus-visible {
    transform: translateY(-6px) scale(1.03);
    filter:
      drop-shadow(0 18px 14px rgba(62, 47, 85, 0.18))
      drop-shadow(0 0 22px rgba(160, 134, 211, 0.45));
  }

  .hero-character:active {
    transform: translateY(-3px) scale(1.015);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-character {
    transition: none;
    transform: none;
  }
  .hero-character:hover,
  .hero-character:focus-visible {
    transform: none;
    filter:
      drop-shadow(0 10px 9px rgba(62, 47, 85, 0.13));
  }
}

.hero-character-divyansh .swap-image-gadget {
  inset: auto auto 0 -25%;
  width: 150%;
  height: 150%;
  max-width: none;
  object-position: center bottom;
}

.hero-decoration {
  position: absolute;
  z-index: 1;
  height: auto;
  pointer-events: none;
}

.hero-bat {
  width: 208px;
  opacity: 0.82;
  filter: drop-shadow(0 8px 16px rgba(74, 57, 105, 0.2));
  animation: bat-glide 8s ease-in-out infinite;
}

.hero-bat-one {
  top: 24%;
  left: -5%;
}

.hero-bat-two {
  right: -9%;
  bottom: 19%;
  width: 144px;
  animation-delay: -3.8s;
  animation-direction: reverse;
}

.hero-ghost {
  top: 40%;
  right: -7%;
  width: 212px;
  animation: ghost-float 6.5s ease-in-out infinite;
  filter: drop-shadow(0 0 11px rgba(180, 164, 240, 0.7));
}

.hero-pumpkin {
  z-index: 3;
  right: -9%;
  bottom: 8%;
  left: auto;
  width: 224px;
  animation: pumpkin-bob 5s ease-in-out infinite;
  filter: drop-shadow(0 0 11px rgba(255, 168, 65, 0.53));
}

.hero-caption {
  position: absolute;
  bottom: 4%;
  color: #8b829e;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.2em;
}

.hero-tag {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.83);
  box-shadow: 0 9px 25px rgba(63, 46, 84, 0.1);
  color: #665b7e;
  font-size: 0.68rem;
  font-weight: 900;
  animation: tag-float 5s ease-in-out infinite;
}

.hero-tag img {
  width: 15px;
  height: 15px;
}

.hero-tag-lantern {
  top: 27%;
  left: -4%;
}

.hero-tag-wand {
  right: -2%;
  bottom: 33%;
  animation-delay: -2.6s;
}

.about-web {
  position: absolute;
  z-index: 1;
  top: 0;
  width: clamp(180px, 17vw, 240px);
  height: auto;
  opacity: 0.75;
  pointer-events: none;
  animation: web-shimmer 6s ease-in-out infinite;
}

.about-web-left {
  left: calc(50% - 50vw + 8px);
}

.about-web-right {
  right: calc(50% - 50vw + 8px);
  transform: scaleX(-1);
  animation-delay: -3s;
}

.hanging-spider {
  position: absolute;
  z-index: 1;
  top: 0;
  width: 42px;
  pointer-events: none;
}

.hanging-spider-left {
  left: 5%;
}

.hanging-spider-right {
  right: 6%;
  width: 36px;
}

.hanging-spider-swing {
  position: relative;
  display: block;
  padding-top: 88px;
  transform-origin: 50% 0;
  animation: spider-sway 6s ease-in-out infinite;
}

.hanging-spider-right .hanging-spider-swing {
  padding-top: 118px;
  animation-delay: -2.3s;
}

.hanging-spider-swing::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 100%;
  background: linear-gradient(#c3aee6, #a98fd4);
  content: "";
  transform: translateX(-50%);
}

.hanging-spider-swing img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-character .swap-image {
  animation: character-drift 5.7s ease-in-out infinite;
}

.hero-character-divyansh .swap-image {
  animation-delay: -2.8s;
}

.scroll-cue {
  position: absolute;
  bottom: 26px;
  left: 50%;
  color: #938da2;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  white-space: nowrap;
  transform: translateX(-50%);
}

.scroll-cue span {
  display: inline-block;
  margin-right: 7px;
  animation: scroll-bob 1.8s ease-in-out infinite;
}

.about-intro {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
  min-height: 98px;
  margin-bottom: 112px;
  padding: 20px 55px;
  border: 1px solid rgba(255, 255, 255, 0.96);
  border-radius: 26px;
  background: linear-gradient(
    105deg,
    rgba(255, 232, 163, 0.45),
    rgba(255, 220, 232, 0.64),
    rgba(207, 226, 255, 0.7)
  );
  text-align: center;
}

.about-intro p {
  margin: 0;
  color: var(--about-muted);
  font-size: 0.95rem;
}

.about-intro strong {
  display: block;
  color: var(--about-ink);
  font-size: 1.16rem;
  font-weight: 900;
}

.intro-sparkle {
  color: #9e7fc4;
  font-size: 1.8rem;
  animation: orbit-twinkle 3s ease-in-out infinite;
}

.about-intro > img {
  width: 44px;
  height: 44px;
  filter: drop-shadow(0 0 9px rgba(165, 146, 216, 0.45));
  animation: ghost-float 5s ease-in-out infinite;
}

.about-section {
  padding-bottom: 128px;
  scroll-margin-top: 36px;
}

.section-heading {
  max-width: 710px;
  margin-bottom: 44px;
}

.section-heading h2,
.promise-copy h2 {
  margin-bottom: 14px;
  font-size: clamp(2.4rem, 4.8vw, 4.15rem);
  line-height: 1.08;
}

.section-heading > p:last-child,
.promise-copy > p:not(.section-kicker) {
  max-width: 610px;
  margin-bottom: 0;
  color: var(--about-muted);
  font-size: 1rem;
  line-height: 1.8;
}

.character-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 25px;
}

.character-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 30px;
  background: #fffdfb;
  box-shadow: var(--about-shadow);
  transition:
    transform 350ms cubic-bezier(0.2, 0.75, 0.25, 1),
    box-shadow 350ms ease;
}

.character-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 60px rgba(70, 54, 93, 0.15);
}

.character-art {
  position: relative;
  display: grid;
  min-height: 340px;
  overflow: hidden;
  place-items: center;
}

.abhay-card .character-art {
  background: linear-gradient(140deg, #fff2cc, #ffe2d2 60%, #ffdce8);
}

.divyansh-card .character-art {
  background: linear-gradient(140deg, #cfe2ff, #f0e9ff 65%, #e1d9ff);
}

.character-halo {
  position: absolute;
  width: min(245px, 72%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.61);
  box-shadow:
    0 0 0 21px rgba(255, 255, 255, 0.22),
    0 0 75px rgba(255, 255, 255, 0.8);
  animation: halo-pulse 5.5s ease-in-out infinite alternate;
}

.character-portrait {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
  cursor: pointer;
  appearance: none;
}

.character-card:hover .character-portrait:not(.is-gadget-visible) .swap-image-solo {
  transform: translateY(-5px) scale(1.025);
}

.character-portrait .swap-image {
  filter: drop-shadow(0 8px 7px rgba(57, 54, 79, 0.11));
  transition:
    opacity 300ms ease,
    transform 450ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.character-sparkle {
  position: absolute;
  top: 18%;
  right: 17%;
  width: 26px;
  height: 26px;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.9));
  animation: orbit-twinkle 3.2s ease-in-out infinite;
}

.character-role {
  position: absolute;
  bottom: 18px;
  left: 20px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #655a7d;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.character-copy {
  padding: 27px 30px 30px;
}

.character-number,
.gadget-number,
.mission-number {
  margin-bottom: 8px;
  color: #9079ad;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.character-copy h3 {
  margin-bottom: 4px;
  font-size: 2.25rem;
}

.character-copy h3 span {
  color: #c19ac4;
  font-size: 1.45rem;
}

.character-quote {
  margin-bottom: 12px;
  color: #986b8d;
  font-size: 0.98rem;
  font-style: italic;
  font-weight: 800;
}

.character-copy > p:not(.character-number, .character-quote) {
  margin-bottom: 0;
  color: var(--about-muted);
  font-size: 0.91rem;
  line-height: 1.75;
}

.character-traits {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 19px;
}

.character-traits span {
  padding: 7px 10px;
  border-radius: 99px;
  background: #f4eff9;
  color: #786d8e;
  font-size: 0.68rem;
  font-weight: 800;
}

.mission-section {
  position: relative;
  overflow: hidden;
  padding: 100px 0 113px;
  background:
    radial-gradient(ellipse at 0 20%, rgba(255, 220, 232, 0.62), transparent 29%),
    radial-gradient(ellipse at 100% 80%, rgba(207, 226, 255, 0.72), transparent 30%),
    linear-gradient(180deg, #f1ebff 0%, #f8f3ff 48%, #fff8f2 100%);
}

.mission-section .shell {
  position: relative;
}

.section-heading-centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading-centered > p:last-child {
  margin-inline: auto;
}

.mission-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.mission-card {
  position: relative;
  min-height: 330px;
  padding: 26px 25px 24px;
  border: 1px solid rgba(255, 255, 255, 0.94);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 40px rgba(83, 65, 113, 0.08);
  transition:
    transform 300ms ease,
    box-shadow 300ms ease;
}

.mission-visual {
  position: relative;
  height: 150px;
  margin: -26px -25px 22px;
  overflow: hidden;
  border-radius: 25px 25px 0 0;
  background: linear-gradient(135deg, #eee8ff, #cfe2ff);
}

.mission-visual > img:first-child {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.mission-card:hover .mission-visual > img:first-child {
  transform: scale(1.045);
}

.mission-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 21px 48px rgba(83, 65, 113, 0.13);
}

.mission-icon {
  position: absolute;
  bottom: 12px;
  left: 14px;
  display: grid;
  width: 54px;
  height: 54px;
  margin: 0;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(57, 54, 79, 0.15);
  place-items: center;
}

.mission-icon img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  animation: icon-drift 4.8s ease-in-out infinite;
}

.mission-icon-pumpkin {
  background: #fff0cf;
}

.mission-icon-ghost {
  background: #eee8ff;
}

.mission-icon-dream {
  background: #e5f1ff;
}

.mission-number {
  margin-bottom: 8px;
}

.mission-card h3 {
  margin-bottom: 10px;
  font-size: 1.34rem;
  line-height: 1.25;
}

.mission-card > p:not(.mission-number) {
  margin-bottom: 20px;
  color: var(--about-muted);
  font-size: 0.87rem;
  line-height: 1.75;
}

.mission-motto {
  display: inline-block;
  color: #8a77a5;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.mission-decoration {
  position: absolute;
  z-index: 0;
  width: 136px;
  height: auto;
  opacity: 0.6;
  pointer-events: none;
}

.mission-bat {
  top: 8%;
  right: 0;
  width: 208px;
  animation: bat-glide 10s ease-in-out infinite;
}

.mission-ghost {
  bottom: 1%;
  left: -12px;
  width: 212px;
  animation: ghost-float 7s ease-in-out infinite;
  filter: drop-shadow(0 0 10px rgba(161, 147, 218, 0.55));
}

.mission-pumpkin {
  right: 3%;
  bottom: 0;
  width: 224px;
  animation: pumpkin-bob 6.5s ease-in-out infinite;
}

.mission-spider {
  top: 23%;
  left: 4%;
  width: 42px;
  animation: spider-sway 6s ease-in-out infinite;
}

.mission-web {
  top: 0;
  left: calc(50% - 50vw + 8px);
  width: 216px;
  opacity: 0.48;
  animation: web-shimmer 7s ease-in-out infinite;
}

.gadget-section {
  position: relative;
  padding-top: 116px;
}

.gadget-decoration,
.gadget-web {
  position: absolute;
  z-index: 0;
  height: auto;
  pointer-events: none;
}

.gadget-decoration {
  z-index: 2;
  width: 200px;
  opacity: 0.82;
}

.gadget-ghost-decoration {
  top: 35%;
  right: -34px;
  animation: ghost-float 7s ease-in-out infinite;
}

.gadget-pumpkin-decoration {
  right: clamp(-86px, -6vw, -28px);
  bottom: 2%;
  z-index: 3;
  width: clamp(130px, 13vw, 184px);
  animation: pumpkin-bob 6s ease-in-out infinite;
}

.gadget-web {
  top: 2%;
  left: calc(50% - 50vw + 8px);
  width: 240px;
  opacity: 0.62;
  animation: web-shimmer 6s ease-in-out infinite;
}

.gadget-spider {
  position: absolute;
  z-index: 1;
  top: 26px;
  left: 82px;
  width: 36px;
  height: auto;
  pointer-events: none;
  filter: drop-shadow(0 3px 6px rgba(83, 65, 113, 0.16));
  animation: spider-sway 6s ease-in-out infinite;
}

.gadget-section > .section-heading {
  position: relative;
  z-index: 1;
}

.gadget-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 26px;
}

.gadget-card {
  display: grid;
  grid-template-columns: minmax(250px, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(26px, 5vw, 66px);
  min-width: 0;
  padding: 26px clamp(24px, 4vw, 54px) 26px 26px;
  border: 1px solid rgba(255, 255, 255, 0.97);
  border-radius: 31px;
  background: linear-gradient(112deg, #fff9e8, #fffdf9);
  box-shadow: var(--about-shadow);
  transition:
    transform 350ms cubic-bezier(0.2, 0.75, 0.25, 1),
    box-shadow 350ms ease;
}

.gadget-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 60px rgba(70, 54, 93, 0.15);
}

.gadget-card-wand {
  grid-template-columns: minmax(250px, 0.82fr) minmax(0, 1.18fr);
  background: linear-gradient(112deg, #f1edff, #fbfaff);
}

.gadget-card-wand .gadget-art {
  order: 2;
}

.gadget-art {
  position: relative;
  display: grid;
  min-height: 345px;
  overflow: hidden;
  border-radius: 25px;
  background: radial-gradient(ellipse at 50% 52%, #fff 0, #fff2cf 46%, #ffe2d2 100%);
  isolation: isolate;
  place-items: center;
}

.gadget-card-wand .gadget-art {
  background: radial-gradient(ellipse at 50% 52%, #fff 0, #e9e1ff 49%, #cfe2ff 100%);
}

.gadget-aura {
  position: absolute;
  z-index: -1;
  width: 67%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 0 54px rgba(255, 224, 151, 0.64);
  animation: halo-pulse 4.8s ease-in-out infinite alternate;
}

.gadget-card-wand .gadget-aura {
  box-shadow: 0 0 54px rgba(175, 154, 237, 0.42);
}

.gadget-orbit {
  position: absolute;
  z-index: -1;
  width: 86%;
  height: 58%;
  border: 1px dashed rgba(146, 119, 189, 0.35);
  border-radius: 50%;
  transform: rotate(-24deg);
  animation: orbit-turn 30s linear infinite;
}

.gadget-art > img:first-of-type {
  position: relative;
  z-index: 1;
  width: 78%;
  height: 94%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 8px 8px rgba(57, 54, 79, 0.1));
  transition: transform 450ms ease;
}

.gadget-card:hover .gadget-art > img:first-of-type {
  transform: translateY(-5px) scale(1.025);
}

.gadget-ghost,
.gadget-sparkle {
  position: absolute;
  z-index: 2;
  width: 38px;
  height: 38px;
  pointer-events: none;
}

.gadget-ghost {
  top: 19%;
  right: 12%;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.95));
  animation: ghost-float 5s ease-in-out infinite;
}

.gadget-sparkle {
  top: 16%;
  left: 13%;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.95));
  animation: orbit-twinkle 3s ease-in-out infinite;
}

.gadget-copy {
  min-width: 0;
  padding: 12px 0;
}

.gadget-number {
  margin-bottom: 9px;
}

.gadget-copy h3 {
  margin-bottom: 13px;
  font-size: clamp(1.75rem, 3.3vw, 2.55rem);
  line-height: 1.12;
}

.gadget-copy > p:not(.gadget-number) {
  margin-bottom: 17px;
  color: var(--about-muted);
  font-size: 0.92rem;
  line-height: 1.8;
}

.gadget-copy ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  color: #615b74;
  font-size: 0.84rem;
  font-weight: 700;
  list-style: none;
}

.gadget-copy li {
  position: relative;
  padding-left: 22px;
}

.gadget-copy li::before {
  position: absolute;
  top: 0.04em;
  left: 0;
  color: #9b82c3;
  content: "✦";
  font-size: 0.78rem;
}

.gadget-card-lantern .gadget-copy li::before {
  color: #d09a3b;
}

.gadget-signature {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 21px;
  padding: 8px 12px;
  border: 1px solid rgba(183, 160, 215, 0.25);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  color: #766889;
  font-size: 0.68rem;
  font-weight: 900;
}

.gadget-signature img {
  width: 15px;
  height: 15px;
}

.promise-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  align-items: center;
  gap: clamp(34px, 6vw, 80px);
  padding: clamp(88px, 11vw, 132px) 0 clamp(72px, 9vw, 112px);
  background:
    radial-gradient(ellipse at 30% 22%, rgba(220, 207, 255, 0.55), transparent 55%),
    radial-gradient(ellipse at 78% 78%, rgba(255, 232, 163, 0.30), transparent 50%),
    radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.95), transparent 45%),
    linear-gradient(178deg, #f3eeff 0%, #fbf8ff 38%, #fffaf2 100%);
  overflow: hidden;
  isolation: isolate;
}

.promise-section::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(ellipse at 22% 18%, rgba(214, 196, 248, 0.42), transparent 50%),
    radial-gradient(ellipse at 82% 84%, rgba(255, 214, 232, 0.28), transparent 48%);
  pointer-events: none;
}

.promise-section::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image:
    radial-gradient(circle at 18% 28%, rgba(255, 255, 255, 0.7), transparent 22%),
    radial-gradient(circle at 72% 72%, rgba(255, 255, 255, 0.6), transparent 20%);
  pointer-events: none;
}

.promise-art {
  position: relative;
  min-width: 0;
  display: grid;
  aspect-ratio: 1.2;
  overflow: visible;
  border: 7px solid rgba(255, 255, 255, 0.88);
  border-radius: 30px;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(255, 255, 255, 0.95), transparent 60%),
    linear-gradient(135deg, #e5ddff, #cfe2ff 52%, #ffdce8);
  box-shadow: var(--about-shadow);
  place-items: center;
  isolation: isolate;
}

.promise-art::before {
  position: absolute;
  z-index: -1;
  inset: -18px;
  border-radius: 44% 56% 52% 48% / 53% 46% 54% 47%;
  background: linear-gradient(135deg, #e5ddff, #cfe2ff 52%, #ffdce8);
  content: "";
  transform: rotate(-3deg);
}

.promise-art > img:first-child {
  width: 100%;
  height: 100%;
  padding: 6px;
  object-fit: contain;
  object-position: center bottom;
  transition: transform 450ms ease;
}

.promise-art:hover > img:first-child {
  transform: translateY(-4px) rotate(-1deg);
}

.promise-pumpkin,
.promise-ghost {
  position: absolute;
  width: 212px;
  height: auto;
  pointer-events: none;
}

.promise-pumpkin {
  right: -50px;
  bottom: -48px;
  filter: drop-shadow(0 0 10px rgba(255, 171, 63, 0.48));
  animation: pumpkin-bob 4.8s ease-in-out infinite;
}

.promise-ghost {
  top: -48px;
  left: -50px;
  filter: drop-shadow(0 0 11px rgba(174, 157, 236, 0.6));
  animation: ghost-float 5.6s ease-in-out infinite;
}

.promise-bat {
  position: absolute;
  right: 7%;
  top: 7%;
  width: 208px;
  height: auto;
  pointer-events: none;
  animation: bat-glide 9s ease-in-out infinite;
}

.promise-copy h2 {
  font-size: clamp(2.25rem, 4.2vw, 3.8rem);
}

.promise-copy > p:not(.section-kicker) {
  margin-bottom: 24px;
}

.about-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 100px;
  padding: 18px max(24px, calc((100vw - 1180px) / 2));
  border-top: 1px solid rgba(130, 104, 170, 0.16);
  background: rgba(255, 250, 245, 0.82);
}

.about-footer .brand {
  gap: 8px;
}

.about-footer .brand-planet {
  width: 55px;
}

.about-footer .brand span {
  font-size: 1.2rem;
}

.about-footer p {
  margin-bottom: 0;
  color: #777187;
  font-size: 0.82rem;
  font-weight: 700;
}

.about-footer > a:last-child {
  color: #73618f;
  font-size: 0.78rem;
  font-weight: 900;
}

.about-page .reveal {
  opacity: 1;
  transform: none;
}

.about-page.has-reveals .reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 700ms ease,
    transform 700ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.about-page.has-reveals .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes stage-breathe {
  from {
    border-radius: 47% 53% 46% 54% / 48% 43% 57% 52%;
  }

  to {
    border-radius: 52% 48% 54% 46% / 44% 56% 44% 56%;
  }
}

@keyframes character-drift {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -8px;
  }
}

@keyframes bat-glide {
  0%,
  100% {
    translate: 0 0;
    rotate: -6deg;
  }

  35% {
    translate: 11px -12px;
    rotate: 4deg;
  }

  70% {
    translate: -5px 8px;
    rotate: -2deg;
  }
}

@keyframes ghost-float {
  0%,
  100% {
    translate: 0 0;
    rotate: -4deg;
    opacity: 0.76;
  }

  50% {
    translate: 6px -13px;
    rotate: 4deg;
    opacity: 1;
  }
}

@keyframes pumpkin-bob {
  0%,
  100% {
    translate: 0 0;
    rotate: -3deg;
    filter: drop-shadow(0 0 7px rgba(255, 171, 63, 0.45));
  }

  50% {
    translate: 3px -9px;
    rotate: 4deg;
    filter: drop-shadow(0 0 14px rgba(255, 188, 66, 0.76));
  }
}

@keyframes tag-float {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -7px;
  }
}

@keyframes scroll-bob {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 5px;
  }
}

@keyframes halo-pulse {
  from {
    scale: 0.96;
    opacity: 0.68;
  }

  to {
    scale: 1.04;
    opacity: 0.92;
  }
}

@keyframes orbit-twinkle {
  0%,
  100% {
    opacity: 0.6;
    scale: 0.86;
  }

  50% {
    opacity: 1;
    scale: 1.12;
  }
}

@keyframes icon-drift {
  0%,
  100% {
    translate: 0 0;
    rotate: -5deg;
  }

  50% {
    translate: 0 -3px;
    rotate: 5deg;
  }
}

@keyframes orbit-turn {
  to {
    rotate: 360deg;
  }
}

@keyframes title-writing {
  to {
    clip-path: inset(0 0 0 0);
  }
}

@keyframes title-caret {
  to {
    left: 100%;
  }
}

@keyframes caret-blink {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

@keyframes spider-sway {
  0%,
  100% {
    rotate: -1.5deg;
  }

  50% {
    rotate: 1.5deg;
  }
}

@keyframes web-shimmer {
  0%,
  100% {
    opacity: 0.52;
  }

  50% {
    opacity: 0.88;
  }
}

@media (max-width: 1000px) {
  .about-hero {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    min-height: 590px;
  }

  .hero-stage {
    min-height: 430px;
  }

  .hero-tag-lantern {
    left: -2%;
  }

  .hero-tag-wand {
    right: -1%;
  }

  .character-art {
    min-height: 300px;
  }

  .gadget-card,
  .gadget-card-wand {
    grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
    gap: 30px;
  }

  .gadget-art {
    min-height: 310px;
  }
}

@media (max-width: 760px) {
  .navbar {
    min-height: 78px;
  }

  .navbar .brand-planet {
    width: 78px;
  }

  .navbar .brand span {
    font-size: 28px;
  }

  .about-page .shell {
    width: min(100% - 40px, 600px);
  }

  .about-hero {
    grid-template-columns: 1fr;
    gap: 8px;
    min-height: 0;
    padding-top: 20px;
    padding-bottom: 44px;
  }

  .hero-copy {
    max-width: 640px;
  }

  .hero-copy h1 {
    max-width: 590px;
    font-size: clamp(2.5rem, 7vw, 3.25rem);
  }

  .hero-stage {
    width: min(100%, 570px);
    height: auto;
    min-height: clamp(250px, 35vw, 270px);
    margin-inline: auto;
  }

  .hero-character {
    height: clamp(190px, 30vw, 230px);
    bottom: 5%;
  }

  .hero-character-abhay {
    left: 6%;
  }

  .hero-character-divyansh {
    right: 6%;
  }

  .hero-character-divyansh .swap-image-gadget {
    inset: auto auto 0 -18%;
    width: 140%;
    height: 140%;
    max-width: none;
    object-position: center bottom;
  }

  .hero-tag-lantern {
    left: 0;
  }

  .hero-tag-wand {
    right: 0;
  }

  .scroll-cue {
    bottom: 27px;
  }

  .about-intro {
    margin-bottom: 86px;
  }

  .about-section {
    padding-bottom: 90px;
  }

  .character-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .character-art {
    min-height: clamp(300px, 72vw, 390px);
  }

  .mission-section {
    padding: 78px 0 88px;
  }

  .mission-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .mission-card {
    min-height: 0;
  }

  .gadget-section {
    padding-top: 88px;
  }

  .gadget-card,
  .gadget-card-wand {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 20px;
  }

  .gadget-card-wand .gadget-art {
    order: 0;
  }

  .gadget-art {
    min-height: clamp(280px, 65vw, 360px);
  }

  .gadget-copy {
    padding: 0 4px 5px;
  }

  .promise-section {
    grid-template-columns: 1fr;
    gap: 44px;
    padding: clamp(64px, 9vw, 92px) 0 clamp(56px, 8vw, 80px);
  }

  .promise-art {
    width: min(100% - 20px, 520px);
    margin-inline: auto;
  }

  .promise-copy {
    max-width: 600px;
    margin-inline: auto;
  }

  .gadget-decoration {
    width: 120px;
  }

  .gadget-pumpkin-decoration {
    right: -22px;
    bottom: 1%;
    width: 126px;
  }

  .gadget-web {
    width: 100px;
  }

  .gadget-spider {
    top: 20px;
    left: 62px;
    width: 30px;
  }
}

@media (max-width: 520px) {
  .about-page .shell {
    width: calc(100% - 32px);
  }

  .about-hero {
    gap: 8px;
    padding-top: 18px;
    padding-bottom: 26px;
  }

  .hero-copy h1 {
    margin-bottom: 9px;
    font-size: clamp(2rem, 9.5vw, 3rem);
  }

  .hero-lede {
    margin-bottom: 8px;
    font-size: 0.84rem;
    line-height: 1.45;
  }

  .hero-actions {
    align-items: center;
    gap: 9px 15px;
  }

  .about-page .hero-primary-button {
    gap: 10px;
    padding-right: 9px;
    padding-left: 16px;
    font-size: 0.88rem;
  }

  .hero-button-icon {
    width: 33px;
    height: 33px;
  }

  .hero-stage {
    height: auto;
    min-height: 250px;
  }

  .hero-character {
    bottom: 5%;
    height: clamp(170px, 28vw, 210px);
  }

  .hero-bat {
    width: 144px;
  }

  .hero-bat-two {
    width: 104px;
  }

  .hero-ghost {
    right: -13%;
    width: 152px;
  }

  .hero-pumpkin {
    right: -10%;
    left: auto;
    width: 160px;
  }

  .hero-moon {
    display: none;
  }

  .hero-tag {
    gap: 5px;
    padding: 7px 9px;
    font-size: 0.57rem;
  }

  .hero-tag-lantern,
  .hero-tag-wand {
    top: 7%;
    bottom: auto;
  }

  .hero-tag-lantern {
    left: 7%;
  }

  .hero-tag-wand {
    right: 7%;
  }

  .hero-tag img {
    width: 12px;
    height: 12px;
  }

  .hero-caption {
    font-size: 0.5rem;
    letter-spacing: 0.13em;
  }

  .hero-note {
    margin-top: 8px;
    font-size: 0.72rem;
  }

  .scroll-cue {
    bottom: 17px;
  }

  .about-web {
    width: 120px;
    opacity: 0.52;
  }

  .about-web-left {
    left: calc(50% - 50vw + 8px);
  }

  .about-web-right {
    right: calc(50% - 50vw + 8px);
  }

  .hanging-spider {
    width: 30px;
  }

  .hanging-spider-right {
    width: 26px;
  }

  .hanging-spider-swing {
    padding-top: 54px;
  }

  .hanging-spider-right .hanging-spider-swing {
    padding-top: 76px;
  }

  .mission-decoration {
    width: 140px;
    opacity: 0.45;
  }

  .mission-spider {
    top: 22%;
    left: 2%;
    width: 34px;
  }

  .mission-web {
    width: 124px;
  }

  .about-intro {
    gap: 10px;
    min-height: 86px;
    margin-bottom: 72px;
    padding: 17px 12px;
  }

  .about-intro strong {
    font-size: 1rem;
  }

  .about-intro p {
    font-size: 0.82rem;
  }

  .about-intro > img {
    width: 34px;
    height: 34px;
  }

  .intro-sparkle {
    font-size: 1.3rem;
  }

  .section-heading {
    margin-bottom: 31px;
  }

  .section-heading h2,
  .promise-copy h2 {
    font-size: clamp(2rem, 9vw, 2.8rem);
  }

  .section-heading > p:last-child,
  .promise-copy > p:not(.section-kicker) {
    font-size: 0.91rem;
  }

  .character-art {
    min-height: 295px;
  }

  .character-copy {
    padding: 23px 21px 25px;
  }

  .character-copy h3 {
    font-size: 2rem;
  }

  .mission-section {
    padding: 68px 0 75px;
  }

  .mission-card {
    padding: 22px;
  }

  .gadget-section {
    padding-top: 72px;
  }

  .gadget-card,
  .gadget-card-wand {
    padding: 15px;
    border-radius: 25px;
  }

  .gadget-art {
    min-height: 275px;
    border-radius: 20px;
  }

  .gadget-copy h3 {
    font-size: 1.85rem;
  }

  .gadget-copy > p:not(.gadget-number) {
    font-size: 0.88rem;
  }

  .promise-section {
    gap: 35px;
    padding-bottom: 76px;
  }

  .promise-pumpkin,
  .promise-ghost {
    width: 96px;
    height: auto;
  }

  .promise-bat {
    width: 130px;
  }

  .about-footer {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 18px;
    padding: 21px 16px;
    text-align: center;
  }

  .about-footer .brand {
    width: 100%;
    justify-content: center;
  }

  .about-footer > a:last-child {
    min-height: 38px;
    padding: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-page *,
  .about-page *::before,
  .about-page *::after {
    scroll-behavior: auto ;
    animation-duration: 0.01ms ;
    animation-iteration-count: 1 ;
    transition-duration: 0.01ms ;
  }

  .about-page.has-reveals .reveal:not(.is-visible) {
    opacity: 1;
    transform: none;
  }

  .hero-copy .hero-title-line {
    clip-path: none;
    animation: none;
  }

  .hero-copy .hero-title-line::after {
    display: none;
    animation: none;
  }
}

@media (max-width: 360px) {
  .hero-text-link {
    display: none;
  }
}

/* ===== Shared ORBIT-X closing footer (orbit-footer) =====
   Ported verbatim from css/about.css so about.html can render this footer
   without loading about.css (its .about-page rules would clash with this
   page's own .about-page styles). Keep in sync with css/about.css. */

/* Magical closing footer */

.orbit-footer {
  --footer-ink: var(--about-text, #39364F);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 76px 24px 18px;
  color: var(--footer-ink);
  /* Light neutral lavender-gray footer: clearly distinct from the dreamy
     lavender/periwinkle closing CTA above it. */
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.7), transparent 55%),
    linear-gradient(180deg, #FAF8FC 0%, #F0EDF6 55%, #F4F2F8 100%);
  border-top: 1px solid rgba(147, 131, 195, 0.32);
}

.orbit-footer::before,
.orbit-footer::after {
  position: absolute;
  z-index: -1;
  content: "";
  pointer-events: none;
}

.orbit-footer::before {
  top: 18%;
  left: -12%;
  width: 54%;
  height: 36%;
  border-radius: 50%;
  background: rgba(255, 220, 232, 0.42);
  filter: blur(72px);
  animation: footer-mist-drift 18s ease-in-out infinite alternate;
}

.orbit-footer::after {
  right: -14%;
  bottom: 4%;
  width: 56%;
  height: 36%;
  border-radius: 50%;
  background: rgba(207, 226, 255, 0.62);
  filter: blur(82px);
  animation: footer-mist-drift 22s ease-in-out -8s infinite alternate-reverse;
}

.orbit-footer__inner {
  position: relative;
  z-index: 1;
  width: min(100%, 1160px);
  margin-inline: auto;
}

.orbit-footer__decor {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.orbit-footer__decor span {
  position: absolute;
  display: block;
  pointer-events: none;
}

.orbit-footer__decor img {
  display: block;
  width: 100%;
  height: auto;
}

.orbit-footer__bat {
  width: clamp(38px, 5vw, 62px);
  opacity: 0.5;
}

.orbit-footer__bat--one {
  top: 13%;
  left: 5%;
  animation: footer-bat-glide 15s ease-in-out infinite;
}

.orbit-footer__bat--two {
  top: 42%;
  right: 7%;
  width: clamp(30px, 4vw, 48px);
  animation: footer-bat-glide 19s ease-in-out -7s infinite reverse;
}

.orbit-footer__ghost {
  width: clamp(42px, 5vw, 60px);
  opacity: 0.66;
  filter: drop-shadow(0 0 12px rgba(168, 138, 230, 0.48));
  animation: footer-ghost-float 8s ease-in-out infinite;
}

.orbit-footer__ghost--one {
  top: 38%;
  left: 2.5%;
}

.orbit-footer__ghost--two {
  top: 19%;
  right: 3%;
  width: clamp(36px, 4.4vw, 52px);
  animation-delay: -4s;
  animation-direction: alternate-reverse;
}

.orbit-footer__pumpkin {
  bottom: 7%;
  width: clamp(74px, 10vw, 120px);
  filter: drop-shadow(0 0 12px rgba(255, 176, 75, 0.35));
  animation: footer-pumpkin-glow 5.5s ease-in-out infinite;
}

.orbit-footer__pumpkin--left {
  left: max(12px, calc((100% - 1320px) / 2));
}

.orbit-footer__pumpkin--right {
  right: max(12px, calc((100% - 1320px) / 2));
  animation-delay: -2.7s;
}

.orbit-footer__spark {
  width: 20px;
  opacity: 0.7;
  animation: footer-spark-drift 5s ease-in-out infinite;
}

.orbit-footer__spark--one {
  top: 31%;
  left: 12%;
}

.orbit-footer__spark--two {
  top: 10%;
  right: 13%;
  width: 16px;
  animation-delay: -2.1s;
}

.orbit-footer__cta {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 900px;
  margin: 0 auto 62px;
  padding: clamp(30px, 5vw, 52px) 24px;
  overflow: hidden;
  border: 1px solid rgba(168, 138, 230, 0.26);
  border-radius: 30px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 232, 163, 0.45), transparent 54%),
    linear-gradient(130deg, rgba(255, 248, 242, 0.9), rgba(255, 220, 232, 0.72) 52%, rgba(220, 207, 255, 0.8));
  box-shadow: 0 20px 46px rgba(91, 58, 133, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  text-align: center;
}

.orbit-footer__cta::after {
  position: absolute;
  inset: auto 12% -72% 12%;
  z-index: -1;
  height: 100%;
  border-radius: 50%;
  background: rgba(207, 226, 255, 0.64);
  filter: blur(36px);
  content: "";
}

.orbit-footer__eyebrow {
  margin-bottom: 12px;
  color: #72589E;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.8px;
}

.orbit-footer__cta h2 {
  max-width: 660px;
  margin: 0;
  font-size: clamp(27px, 4vw, 43px);
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -1px;
}

.orbit-footer__cta p {
  max-width: 590px;
  margin: 15px 0 22px;
  color: #625A75;
  font-size: 15px;
  line-height: 1.65;
}

.orbit-footer__cta-button {
  min-height: 48px;
  box-shadow: 0 9px 22px rgba(142, 104, 205, 0.2);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.orbit-footer__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(142, 104, 205, 0.3);
}

.orbit-footer__main {
  display: grid;
  grid-template-columns: minmax(250px, 1.55fr) minmax(105px, 0.7fr) minmax(170px, 1.05fr) minmax(130px, 0.7fr);
  gap: clamp(24px, 4vw, 52px);
  padding: 0 7px 38px;
}

.orbit-footer__brand {
  max-width: 350px;
}

.orbit-footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--footer-ink);
  text-decoration: none;
}

.orbit-footer__logo-img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid rgba(140, 108, 200, 0.35);
  box-shadow: 0 6px 14px rgba(101, 72, 163, 0.22);
}

.orbit-footer__logo span {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -1px;
}

.orbit-footer__tagline {
  margin: 8px 0 9px;
  color: #6548A3;
  font-size: 14px;
  font-weight: 800;
}

.orbit-footer__description,
.orbit-footer__connect p {
  margin: 0;
  color: #625A75;
  font-size: 12px;
  line-height: 1.7;
}

.orbit-footer__friends {
  display: flex;
  align-items: end;
  gap: 8px;
  min-height: 92px;
  margin-top: 10px;
}

.orbit-footer__friends img {
  width: auto;
  height: 82px;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 4px 5px rgba(57, 54, 79, 0.12));
}

.orbit-footer__friends span {
  align-self: center;
  margin-left: 3px;
  color: #8068AC;
  font-size: 10px;
  font-weight: 800;
}

.orbit-footer__nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
  padding-top: 9px;
}

.orbit-footer__nav h3 {
  margin: 0 0 5px;
  color: #43375D;
  font-size: 13px;
  font-weight: 900;
}

.orbit-footer__nav a {
  display: flex;
  align-items: center;
  min-height: 24px;
  color: #625A75;
  font-size: 12px;
  line-height: 1.4;
  text-decoration: none;
  transition: color 180ms ease, translate 180ms ease;
}

.orbit-footer__nav a:hover {
  color: #6548A3;
  translate: 3px 0;
}

.orbit-footer__nav a:focus-visible,
.orbit-footer__logo:focus-visible,
.orbit-footer__cta-button:focus-visible {
  outline: 3px solid rgba(101, 72, 163, 0.58);
  outline-offset: 4px;
  border-radius: 5px;
}

.orbit-footer__connect p {
  max-width: 190px;
  margin-top: 2px;
}

.orbit-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 17px 7px 0;
  border-top: 1px solid rgba(101, 72, 163, 0.16);
}

.orbit-footer__bottom p {
  margin: 0;
  color: #756C87;
  font-size: 10px;
}

.orbit-footer__bottom-star {
  color: #A88AE6;
  font-size: 14px;
}

.orbit-footer.has-reveal .footer-reveal:not(.is-visible) {
  opacity: 0;
  translate: 0 20px;
}

.orbit-footer .footer-reveal {
  transition: opacity 700ms ease, translate 700ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.orbit-footer .orbit-footer__main > :nth-child(2) {
  transition-delay: 90ms;
}

.orbit-footer .orbit-footer__main > :nth-child(3) {
  transition-delay: 170ms;
}

.orbit-footer .orbit-footer__main > :nth-child(4) {
  transition-delay: 250ms;
}

@keyframes footer-mist-drift {
  to { translate: 8% -7%; scale: 1.12; }
}

@keyframes footer-bat-glide {
  0%, 100% { translate: 0 0; rotate: -5deg; }
  35% { translate: 18px -10px; rotate: 4deg; }
  70% { translate: -8px 8px; rotate: -2deg; }
}

@keyframes footer-ghost-float {
  0%, 100% { translate: 0 0; rotate: -4deg; opacity: 0.56; }
  50% { translate: 9px -15px; rotate: 5deg; opacity: 0.82; }
}

@keyframes footer-pumpkin-glow {
  0%, 100% { translate: 0 0; filter: drop-shadow(0 0 9px rgba(255, 176, 75, 0.28)); }
  50% { translate: 0 -7px; filter: drop-shadow(0 0 17px rgba(255, 186, 86, 0.58)); }
}

@keyframes footer-spark-drift {
  0%, 100% { translate: 0 0; rotate: 0deg; opacity: 0.48; scale: 0.86; }
  50% { translate: 5px -11px; rotate: 14deg; opacity: 0.95; scale: 1.12; }
}

@media (max-width: 900px) {
  .orbit-footer__main {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
  }

  .orbit-footer__brand {
    grid-column: 1 / -1;
    max-width: 420px;
    margin-inline: auto;
  }
}

@media (max-width: 520px) {
  .orbit-footer {
    padding: 54px 18px 16px;
  }

  .orbit-footer__cta {
    margin-bottom: 40px;
    padding: 30px 18px;
    border-radius: 24px;
  }

  .orbit-footer__cta h2 {
    font-size: clamp(25px, 7vw, 33px);
    letter-spacing: -0.6px;
  }

  .orbit-footer__cta p {
    margin-block: 12px 18px;
    font-size: 13px;
  }

  .orbit-footer__main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 18px;
    padding-inline: 0;
  }

  .orbit-footer__brand,
  .orbit-footer__connect {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .orbit-footer__brand {
    max-width: 390px;
    margin-inline: auto;
    text-align: center;
  }

  .orbit-footer__logo {
    justify-content: center;
  }

  .orbit-footer__friends {
    justify-content: center;
  }

  .orbit-footer__nav {
    gap: 4px;
    padding-top: 0;
  }

  .orbit-footer__nav h3 {
    font-size: 12px;
  }

  .orbit-footer__nav a {
    min-height: 36px;
    font-size: 12px;
  }

  .orbit-footer__connect p {
    max-width: 260px;
  }

  .orbit-footer__bat {
    opacity: 0.34;
  }

  .orbit-footer__ghost {
    width: 34px;
  }

  .orbit-footer__ghost--one {
    top: 42%;
    left: 1%;
  }

  .orbit-footer__decor .orbit-footer__ghost--two {
    display: none;
  }

  .orbit-footer__pumpkin {
    bottom: 2%;
    width: 58px;
    opacity: 0.76;
  }

  .orbit-footer__spark--one {
    left: 4%;
  }

  .orbit-footer__spark--two {
    right: 4%;
  }

  .orbit-footer__bottom {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 12px;
    padding-inline: 0;
    text-align: center;
  }

  .orbit-footer__bottom p {
    font-size: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .orbit-footer *,
  .orbit-footer *::before,
  .orbit-footer *::after {
    animation: none;
    transition: none;
  }

  .orbit-footer .footer-reveal,
  .orbit-footer.has-reveal .footer-reveal:not(.is-visible) {
    opacity: 1;
    translate: none;
  }
}